package com.kj.tms.pri.system.menu.dto;
import com.kj.tms.common.bean.dto.BaseDto;
import java.io.Serializable;

/**
 * com.hongtu.tms.system.dto
 *  模块管理的实体类
 * @auther yangruidong
 * @create 2017/10/17
 */
public class ModuleDto extends BaseDto implements Serializable{
    //id
    private String menuId;
    //模块代码
    private String menuCode;
    //模块名称
    private String menuName;
    //上级模块代码
    private String parentMenuCode;
    //模块类型
    private String menuType;
    //模块URL
    private String menuUrl;
    //模块序号
    private String menuNum;
    //有效标志
    private String validMark;
    //权限标志
    private String authMark;
    //图标
    private String moduleIcon;
    //描述
    private String menuDescription;
    
    //原始menCode
    private String originalCode;
    //树状结构
    private String id;
    private String pId;
   
    @Override
    public String getId() {
        return id;
    }

    public String getpId() {
        return pId;
    }

    @Override
    public void setId(String id) {
        this.id = id;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public void setOriginalCode(String originalCode) {
        this.originalCode = originalCode;
    }

    public String getOriginalCode() {
        return originalCode;
    }

    //条数
    private int count;

    public void setCount(int count) {
        this.count = count;
    }

    public int getCount() {
    
        return count;
    }

    /**
     * _parentId 用于标记父节点的字段
     */
    private String _parentId;

    public String get_parentId() {
        return _parentId;
    }

    public void set_parentId(String _parentId) {
        this._parentId = _parentId;
    }

    public String getMenuId() {
        return menuId;
    }

    public String getMenuCode() {
        return menuCode;
    }

    public String getMenuName() {
        return menuName;
    }

    public String getParentMenuCode() {
        return parentMenuCode;
    }

    public String getMenuType() {
        return menuType;
    }

    public String getMenuUrl() {
        return menuUrl;
    }

    public String getValidMark() {
        return validMark;
    }

    public String getAuthMark() {
        return authMark;
    }

    public String getModuleIcon() {
        return moduleIcon;
    }

    public String getMenuDescription() {
        return menuDescription;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public void setMenuCode(String menuCode) {
        this.menuCode = menuCode;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName;
    }

    public void setParentMenuCode(String parentMenuCode) {
        this.parentMenuCode = parentMenuCode;
    }

    public void setMenuType(String menuType) {
        this.menuType = menuType;
    }

    public void setMenuUrl(String menuUrl) {
        this.menuUrl = menuUrl;
    }

    public void setValidMark(String validMark) {
        this.validMark = validMark;
    }

    public void setAuthMark(String authMark) {
        this.authMark = authMark;
    }

    public void setModuleIcon(String moduleIcon) {
        this.moduleIcon = moduleIcon;
    }

    public void setMenuDescription(String menuDescription) {
        this.menuDescription = menuDescription;
    }

    public String getMenuNum() {
        return menuNum;
    }

    public void setMenuNum(String menuNum) {
    
        this.menuNum = menuNum;
    }
}
